package com.yf.dxs.wo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yf.dxs.wo.redis.AbstractRedisMsg;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("wo_phone_msg")
public class WoPhoneMsgDO extends AbstractRedisMsg {
    /**
     * ID
     */
    @TableId
    private Long id;
    /**
     * 消息ID
     */
    private String msgId;
    /**
     * 微盟ID
     */
    private Long wid;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 旧手机号
     */
    private String oldPhone;
    /**
     * 时间
     */
    private LocalDateTime time;
    /**
     * 订阅状态
     *
     * 枚举 {@link TODO sub_status 对应的类}
     */
    private Integer subStatus;


}
